package com.hcc.security.service.serviceImpl;

import com.hcc.security.enetity.User;
import com.hcc.security.mapper.UserMapper;
import com.hcc.security.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: HC
 * @Date: 2019/4/22 15:26
 * @Version 1.0
 */
@Service
public class UserServiceImpl implements UserService {

  @Autowired
  private UserMapper userMapper;


  @Override
  public User queryByCondition(User user) {
    return userMapper.queryByCondition(user);
  }
}
